package com.acmen.demo.dto.vo;

import com.acmen.demo.enums.DemoEnum;
import com.acmen.easyapi.annotation.ResParam;

public class DemoVO {
    @ResParam(label = "身份证号")
    private String idNo;
    @ResParam(label = "姓名", example = "张三丰", client = ResParam.CLIENT_PC)
    private String name;
    @ResParam(label = "年龄", example = "18", client = ResParam.CLIENT_MOBILE)
    private Integer age;
    @ResParam(label = "枚举")
    DemoEnum demoEnum;

    public String getIdNo() {
        return idNo;
    }

    public DemoVO setIdNo(String idNo) {
        this.idNo = idNo;
        return this;
    }

    public String getName() {
        return name;
    }

    public DemoVO setName(String name) {
        this.name = name;
        return this;
    }

    public Integer getAge() {
        return age;
    }

    public DemoVO setAge(Integer age) {
        this.age = age;
        return this;
    }

    public DemoEnum getDemoEnum() {
        return demoEnum;
    }

    public DemoVO setDemoEnum(DemoEnum demoEnum) {
        this.demoEnum = demoEnum;
        return this;
    }
}
